package com.swagger.controller;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 服务检查控制类
 *
 * @author Amadeus
 * @date 2023/09/12
 */
@Tag(name = "HealthController", description = "服务健康检测")
@RestController
@RequestMapping
public class HealthController {

    @GetMapping("/check/health")
    @Operation(summary = "健康测试接口", description = "健康测试接口")
    public String ok() {
        return "OK";
    }
}

